package com.briup.jz.service;

import com.briup.jz.bean.Product;
import com.briup.jz.bean.extend.ProductExtend;

import java.util.List;

/**
 * @program: jz
 * @description: 产品业务接口
 * @author: charles
 * @create: 2020-06-11 11:56
 **/

public interface IProductService {
    List<Product> findAll();

    void saveOrUpdate(Product product);

    void deleteById(long id);

    List<ProductExtend> findAllWithCategory();
}
